projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea39930
)
Cygwin emacsclient handles w32 file names
author
Michael R. Mauger
<michael@mauger.com>
Tue, 30 Jun 2015 00:58:22 +0000
(20:58 -0400)
committer
Michael R. Mauger
<michael@mauger.com>
Tue, 30 Jun 2015 00:58:22 +0000
(20:58 -0400)
lisp/server.el
patch
|
blob
|
history
diff --git
a/lisp/server.el
b/lisp/server.el
index 2007635b98c5aceac06a5bd76fcbc5457ba38329..ce19b3c9d0fdf31afcbeb8e42146f38435c16c0d 100644
(file)
--- a/
lisp/server.el
+++ b/
lisp/server.el
@@
-1167,6
+1167,9
@@
The following commands are accepted by the client:
(let ((file (pop args-left)))
(if coding-system
(setq file (decode-coding-string file coding-system)))
+ (when (and (eq system-type 'cygwin)
+ (fboundp 'cygwin-convert-file-name-from-windows))
+ (setq file (cygwin-convert-file-name-from-windows file)))
(setq file (expand-file-name file dir))
(push (cons file filepos) files)
(server-log (format "New file: %s %s"